package com.lhy.service;

import com.lhy.domain.Doctors;
import com.lhy.domain.User;
import com.lhy.utils.Pagination;

import java.util.List;

/**
 * @author 汪
 */
public interface DoctorService {
    /**
     * 展示所有医生
     * @return
     */
    List<Doctors> showAllDoctors();

    /**
     * 添加医生
     * @param doctors
     * @return
     */
    int addDoctor(Doctors doctors, User u);

    /**
     * 删除医生记录
     * @param docId
     * @return
     */
    int deleteDoctor(Integer docId);

    /**
     * 修改用户信息
     * @param doctors
     * @return
     */
    int modifyDoctor(Doctors doctors);

    List<Doctors> findSomeDoctor(Doctors doctors);

    List<Doctors> findSomeDoctor1(Pagination<Doctors> page);
}
